package com.techprimers.mongodb.springbootmongodbexample.bean;

import cn.hutool.core.util.RandomUtil;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Setter
@Getter
@NoArgsConstructor
@Accessors(chain = true)
public class Coordinate implements Serializable {
    private static final long serialVersionUID = 1L;

    private double x = RandomUtil.randomDouble();
    private double y = RandomUtil.randomDouble();
    private double z = RandomUtil.randomDouble();

    private double aX = RandomUtil.randomDouble();
    private double aY = RandomUtil.randomDouble();
    private double aZ = RandomUtil.randomDouble();
    private double aW = RandomUtil.randomDouble();
}
